@echo off

call EnvironmentSetup.bat
if ERRORLEVEL 1 goto end

if NOT "%1"=="" goto Build
%windir%\Microsoft.NET\Framework\v3.5\MSBuild.exe Budgeteer.msbuild /p:Configuration=Debug /logger:Kobush.Build.Logging.XmlLogger,DevLibraries\Kobush.Build.dll;BuildResults.xml /t:Cruise
goto end

:Build
%windir%\Microsoft.NET\Framework\v3.5\MSBuild.exe Budgeteer.msbuild /p:Configuration=Debug /logger:Kobush.Build.Logging.XmlLogger,DevLibraries\Kobush.Build.dll;BuildResults.xml /t:%*

:end
